﻿using AJWPFAdmin.Core.CommonEntity;
using AJWPFAdmin.Core.Enums;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AJWPFAdmin.Core.Models.EF.Tables
{
    /// <summary>
    /// 报警信息记录
    /// </summary>
    [Comment("报警信息记录")]
    public partial class AlarmInfoRecord : CommonTableEntity
    {
        /// <summary>
        /// 报警类型说明
        /// </summary>
        [Comment("报警类型")]
        [StringLength(100)]
        public string Type { get; set; }

        /// <summary>
        /// 关联设备编码
        /// </summary>
        [Comment("关联设备编码")]
        [StringLength(100)]
        public string DeviceCode { get; set; }

        /// <summary>
        /// 关联通行记录ID或编号
        /// </summary>
        [Comment("关联通行记录ID或编号")]
        [StringLength(100)]
        public string RecordRel { get; set; }

        /// <summary>
        /// 预警等级类型
        /// </summary>
        [Comment("预警等级类型")]
        [StringLength(100)]
        public string WarningType { get; set; }

        /// <summary>
        /// 报警其他参数
        /// </summary>
        [Comment("报警其他参数")]
        public string Params { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        [Comment("备注信息")]
        [StringLength(500)]
        public string Remark { get; set; }
    }
}
